//
//  ForeignCollectHandle.h
//  GoodBuy
//
//  Created by dlios on 15-5-25.
//  Copyright (c) 2015年 GoodBuy. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ForeignCOntroller.h"
#import <sqlite3.h>

@interface ForeignCollectHandle : NSObject

{
    // 创建一个数据库成员变量 用于开发者访问数据库文件
    sqlite3 *dbPoint;
}


//+ (instancetype)shareForeignHandle;
+ (ForeignCollectHandle *)shareInstance;

//打开数据库
- (void)openMc;
//创建表
- (void)createMC;
//添加对象
- (void)insertForeign:(ForeignCOntroller *)Foreign;
//查询
- (NSMutableArray *)selectAllForeign;
//删除表
- (void)dropTable;


@end
